import { createApp } from 'vue'
import './global/style/index.css'
import './assets/css/index.css'
import 'normalize.css';
import 'vfonts/Lato.css'
import 'vfonts/FiraCode.css'
import App from './App.vue'

// 图标库插件
// import './assets/svg/iconfont.js'
// import { setupSvgIcon } from './global/config/svgPlugin';


import router from './router';
import { createPinia } from 'pinia';
import NaiveConfig from './global/config/naive.config';

import { menuStore } from './store/menuStore';
import './service/index'
import './router/index'


const app = createApp(App);
// setupSvgIcon(app);
app.use(createPinia());

app.use(NaiveConfig);


const store = menuStore();
store.mapMenus();

app.use(router);

app.mount('#app');
